package com.ruoyi.service;

import java.util.List;
import com.ruoyi.domain.GoodsPackage;

/**
 * 销售促销套餐Service接口
 * 
 * @author ruoyi
 * @date 2024-05-13
 */
public interface IGoodsPackageService 
{
    /**
     * 查询销售促销套餐
     * 
     * @param packageId 销售促销套餐主键
     * @return 销售促销套餐
     */
    public GoodsPackage selectGoodsPackageByPackageId(Long packageId);

    /**
     * 查询销售促销套餐列表
     * 
     * @param goodsPackage 销售促销套餐
     * @return 销售促销套餐集合
     */
    public List<GoodsPackage> selectGoodsPackageList(GoodsPackage goodsPackage);

    /**
     * 新增销售促销套餐
     * 
     * @param goodsPackage 销售促销套餐
     * @return 结果
     */
    public int insertGoodsPackage(GoodsPackage goodsPackage);

    /**
     * 修改销售促销套餐
     * 
     * @param goodsPackage 销售促销套餐
     * @return 结果
     */
    public int updateGoodsPackage(GoodsPackage goodsPackage);

    /**
     * 批量删除销售促销套餐
     * 
     * @param packageIds 需要删除的销售促销套餐主键集合
     * @return 结果
     */
    public int deleteGoodsPackageByPackageIds(Long[] packageIds);

    /**
     * 删除销售促销套餐信息
     * 
     * @param packageId 销售促销套餐主键
     * @return 结果
     */
    public int deleteGoodsPackageByPackageId(Long packageId);

    List<GoodsPackage> selectGoodsPackageListAll();
}
